<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Packed RGB formats</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Video for Linux Two API Specification"
HREF="book1.htm"><LINK
REL="UP"
TITLE="RGB Formats"
HREF="x2490.htm"><LINK
REL="PREVIOUS"
TITLE="RGB Formats"
HREF="x2490.htm"><LINK
REL="NEXT"
TITLE="V4L2_PIX_FMT_SBGGR8 ('BA81')"
HREF="r3735.htm"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Video for Linux Two API Specification: Revision 0.24</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x2490.htm"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="r3735.htm"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="PACKED-RGB"
></A
>Packed RGB formats</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN2496"
></A
><H2
>Name</H2
>Packed RGB formats&nbsp;--&nbsp;Packed RGB formats</DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN2499"
></A
><H2
>Description</H2
><P
>These formats are designed to match the pixel formats of
typical PC graphics frame buffers. They occupy 8, 16, 24 or 32 bits
per pixel. These are all packed-pixel formats, meaning all the data
for a pixel lie next to each other in memory.</P
><P
>When one of these formats is used, drivers shall report the
colorspace <CODE
CLASS="CONSTANT"
>V4L2_COLORSPACE_SRGB</CODE
>.</P
><DIV
CLASS="TABLE"
><A
NAME="RGB-FORMATS"
></A
><P
><B
>Table 2-1. Packed RGB Image Formats</B
></P
><TABLE
BORDER="0"
FRAME="void"
WIDTH="100%"
CLASS="CALSTABLE"
><COL
WIDTH="3%"
ALIGN="LEFT"
TITLE="ID"><COL
WIDTH="3%"
TITLE="FOURCC"><COL
WIDTH="3%"
TITLE="BIT"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B07"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B06"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B05"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B04"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B03"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B02"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B01"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B00"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B17"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B16"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B15"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B14"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B13"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B12"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B11"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B10"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B27"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B26"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B25"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B24"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B23"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B22"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B21"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B20"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B37"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B36"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B35"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B34"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B33"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B32"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B31"><THEAD
><TR
><TH
>Identifier</TH
><TH
>Code</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;0 in memory</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;1</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;2</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;3</TH
></TR
><TR
><TH
>&nbsp;</TH
><TH
>&nbsp;</TH
><TH
>Bit</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
></TR
></THEAD
><TBODY
VALIGN="TOP"
><TR
><A
NAME="V4L2-PIX-FMT-RGB332"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB332</CODE
></TD
><TD
>'RGB1'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB444"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB444</CODE
></TD
><TD
>'R444'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB555"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB555</CODE
></TD
><TD
>'RGBO'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a</TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB565"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB565</CODE
></TD
><TD
>'RGBP'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB555X"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB555X</CODE
></TD
><TD
>'RGBQ'</TD
><TD
>&nbsp;</TD
><TD
>a</TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB565X"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB565X</CODE
></TD
><TD
>'RGBR'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-BGR24"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_BGR24</CODE
></TD
><TD
>'BGR3'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB24"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB24</CODE
></TD
><TD
>'RGB3'</TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-BGR32"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_BGR32</CODE
></TD
><TD
>'BGR4'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>7</SUB
></TD
><TD
>a<SUB
>6</SUB
></TD
><TD
>a<SUB
>5</SUB
></TD
><TD
>a<SUB
>4</SUB
></TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
></TR
><TR
><A
NAME="V4L2-PIX-FMT-RGB32"
></A
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB32</CODE
></TD
><TD
>'RGB4'</TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>7</SUB
></TD
><TD
>a<SUB
>6</SUB
></TD
><TD
>a<SUB
>5</SUB
></TD
><TD
>a<SUB
>4</SUB
></TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
></TR
></TBODY
></TABLE
></DIV
><P
>Bit 7 is the most significant bit. The value of a = alpha
bits is undefined when reading from the driver, ignored when writing
to the driver, except when alpha blending has been negotiated for a
<A
HREF="x6570.htm"
>Video Overlay</A
> or <A
HREF="x6909.htm"
>Video Output Overlay</A
>.</P
><DIV
CLASS="EXAMPLE"
><A
NAME="AEN3061"
></A
><P
><B
>Example 2-1. <CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_BGR24</CODE
> 4 &times; 4 pixel
image</B
></P
><DIV
CLASS="FORMALPARA"
><P
><B
>Byte Order. </B
>Each cell is one byte.
              <DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN3067"
></A
><TABLE
BORDER="0"
FRAME="void"
CLASS="CALSTABLE"
><COL
WIDTH="2*"
ALIGN="LEFT"><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><TBODY
VALIGN="TOP"
><TR
><TD
>start&nbsp;+&nbsp;0:</TD
><TD
>B<SUB
>00</SUB
></TD
><TD
>G<SUB
>00</SUB
></TD
><TD
>R<SUB
>00</SUB
></TD
><TD
>B<SUB
>01</SUB
></TD
><TD
>G<SUB
>01</SUB
></TD
><TD
>R<SUB
>01</SUB
></TD
><TD
>B<SUB
>02</SUB
></TD
><TD
>G<SUB
>02</SUB
></TD
><TD
>R<SUB
>02</SUB
></TD
><TD
>B<SUB
>03</SUB
></TD
><TD
>G<SUB
>03</SUB
></TD
><TD
>R<SUB
>03</SUB
></TD
></TR
><TR
><TD
>start&nbsp;+&nbsp;12:</TD
><TD
>B<SUB
>10</SUB
></TD
><TD
>G<SUB
>10</SUB
></TD
><TD
>R<SUB
>10</SUB
></TD
><TD
>B<SUB
>11</SUB
></TD
><TD
>G<SUB
>11</SUB
></TD
><TD
>R<SUB
>11</SUB
></TD
><TD
>B<SUB
>12</SUB
></TD
><TD
>G<SUB
>12</SUB
></TD
><TD
>R<SUB
>12</SUB
></TD
><TD
>B<SUB
>13</SUB
></TD
><TD
>G<SUB
>13</SUB
></TD
><TD
>R<SUB
>13</SUB
></TD
></TR
><TR
><TD
>start&nbsp;+&nbsp;24:</TD
><TD
>B<SUB
>20</SUB
></TD
><TD
>G<SUB
>20</SUB
></TD
><TD
>R<SUB
>20</SUB
></TD
><TD
>B<SUB
>21</SUB
></TD
><TD
>G<SUB
>21</SUB
></TD
><TD
>R<SUB
>21</SUB
></TD
><TD
>B<SUB
>22</SUB
></TD
><TD
>G<SUB
>22</SUB
></TD
><TD
>R<SUB
>22</SUB
></TD
><TD
>B<SUB
>23</SUB
></TD
><TD
>G<SUB
>23</SUB
></TD
><TD
>R<SUB
>23</SUB
></TD
></TR
><TR
><TD
>start&nbsp;+&nbsp;36:</TD
><TD
>B<SUB
>30</SUB
></TD
><TD
>G<SUB
>30</SUB
></TD
><TD
>R<SUB
>30</SUB
></TD
><TD
>B<SUB
>31</SUB
></TD
><TD
>G<SUB
>31</SUB
></TD
><TD
>R<SUB
>31</SUB
></TD
><TD
>B<SUB
>32</SUB
></TD
><TD
>G<SUB
>32</SUB
></TD
><TD
>R<SUB
>32</SUB
></TD
><TD
>B<SUB
>33</SUB
></TD
><TD
>G<SUB
>33</SUB
></TD
><TD
>R<SUB
>33</SUB
></TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
>
            </P
></DIV
></DIV
><DIV
CLASS="IMPORTANT"
><BLOCKQUOTE
CLASS="IMPORTANT"
><P
><B
>Important: </B
>Drivers may interpret these formats differently.</P
></BLOCKQUOTE
></DIV
><P
>Some RGB formats above are uncommon and were probably
defined in error. Drivers may interpret them as in <A
HREF="r2492.htm#RGB-FORMATS-CORRECTED"
>Table 2-2</A
>.</P
><DIV
CLASS="TABLE"
><A
NAME="RGB-FORMATS-CORRECTED"
></A
><P
><B
>Table 2-2. Packed RGB Image Formats (corrected)</B
></P
><TABLE
BORDER="0"
FRAME="void"
WIDTH="100%"
CLASS="CALSTABLE"
><COL
WIDTH="3%"
ALIGN="LEFT"
TITLE="ID"><COL
WIDTH="3%"
TITLE="FOURCC"><COL
WIDTH="3%"
TITLE="BIT"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B07"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B06"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B05"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B04"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B03"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B02"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B01"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B00"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B17"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B16"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B15"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B14"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B13"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B12"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B11"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B10"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B27"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B26"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B25"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B24"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B23"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B22"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B21"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B20"><COL><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B37"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B36"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B35"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B34"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B33"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B32"><COL
WIDTH="3%"
ALIGN="CENTER"
TITLE="B31"><THEAD
><TR
><TH
>Identifier</TH
><TH
>Code</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;0 in memory</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;1</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;2</TH
><TH
>&nbsp;</TH
><TH
COLSPAN="8"
>Byte&nbsp;3</TH
></TR
><TR
><TH
>&nbsp;</TH
><TH
>&nbsp;</TH
><TH
>Bit</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
><TH
>&nbsp;</TH
><TH
>7</TH
><TH
>6</TH
><TH
>5</TH
><TH
>4</TH
><TH
>3</TH
><TH
>2</TH
><TH
>1</TH
><TH
>0</TH
></TR
></THEAD
><TBODY
VALIGN="TOP"
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB332</CODE
></TD
><TD
>'RGB1'</TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB444</CODE
></TD
><TD
>'R444'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB555</CODE
></TD
><TD
>'RGBO'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a</TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB565</CODE
></TD
><TD
>'RGBP'</TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB555X</CODE
></TD
><TD
>'RGBQ'</TD
><TD
>&nbsp;</TD
><TD
>a</TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB565X</CODE
></TD
><TD
>'RGBR'</TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_BGR24</CODE
></TD
><TD
>'BGR3'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB24</CODE
></TD
><TD
>'RGB3'</TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
><TD
>&nbsp;</TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_BGR32</CODE
></TD
><TD
>'BGR4'</TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>7</SUB
></TD
><TD
>a<SUB
>6</SUB
></TD
><TD
>a<SUB
>5</SUB
></TD
><TD
>a<SUB
>4</SUB
></TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
></TR
><TR
><TD
><CODE
CLASS="CONSTANT"
>V4L2_PIX_FMT_RGB32</CODE
></TD
><TD
>'RGB4'</TD
><TD
>&nbsp;</TD
><TD
>a<SUB
>7</SUB
></TD
><TD
>a<SUB
>6</SUB
></TD
><TD
>a<SUB
>5</SUB
></TD
><TD
>a<SUB
>4</SUB
></TD
><TD
>a<SUB
>3</SUB
></TD
><TD
>a<SUB
>2</SUB
></TD
><TD
>a<SUB
>1</SUB
></TD
><TD
>a<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>r<SUB
>7</SUB
></TD
><TD
>r<SUB
>6</SUB
></TD
><TD
>r<SUB
>5</SUB
></TD
><TD
>r<SUB
>4</SUB
></TD
><TD
>r<SUB
>3</SUB
></TD
><TD
>r<SUB
>2</SUB
></TD
><TD
>r<SUB
>1</SUB
></TD
><TD
>r<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>g<SUB
>7</SUB
></TD
><TD
>g<SUB
>6</SUB
></TD
><TD
>g<SUB
>5</SUB
></TD
><TD
>g<SUB
>4</SUB
></TD
><TD
>g<SUB
>3</SUB
></TD
><TD
>g<SUB
>2</SUB
></TD
><TD
>g<SUB
>1</SUB
></TD
><TD
>g<SUB
>0</SUB
></TD
><TD
>&nbsp;</TD
><TD
>b<SUB
>7</SUB
></TD
><TD
>b<SUB
>6</SUB
></TD
><TD
>b<SUB
>5</SUB
></TD
><TD
>b<SUB
>4</SUB
></TD
><TD
>b<SUB
>3</SUB
></TD
><TD
>b<SUB
>2</SUB
></TD
><TD
>b<SUB
>1</SUB
></TD
><TD
>b<SUB
>0</SUB
></TD
></TR
></TBODY
></TABLE
></DIV
><P
>A test utility to determine which RGB formats a driver
actually supports is available from the LinuxTV v4l-dvb repository.
See <A
HREF="http://linuxtv.org/repo/"
TARGET="_top"
>http://linuxtv.org/repo/</A
> for access instructions.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x2490.htm"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="r3735.htm"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>RGB Formats</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="x2490.htm"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>V4L2_PIX_FMT_SBGGR8 ('BA81')</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
